sumodd = 0
for i in range(100):
    if i % 2 == 1:
        sumodd = sumodd + i
print(sumodd)

sum_odd = 0
for i in range(1,100,2):
    sum_odd = sum_odd + i
print(sum_odd)


# 做得不错
